<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script type="text/javascript" src="js/jquery.min.js"></script>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="/js/pintuer.js"></script>
    <link href="css/reset.css" rel="stylesheet" type="text/css" />
    <link href="css/style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="main_wrap">
    <div class="warp">
        <div id="head">
            <div class="logo">
                <img class="logo_pic" src="images/logo.png" alt="LOGO">
            </div>
            <div class="clear"></div>
            <div id="nav">
                <div class="nav_bg">
                    <div class="nav_wrap">
                        <ul class="nav_wrap">
                            <a href="index.html"><li>首页</li></a>
                            <a href=""><li>论坛</li></a>
                            <a href=""><li>资源</li></a>
                            <a href=""><li>OJ导航</li></a>
                            <a href=""><li>历届成果</li></a>
                            <a href="about.html"><li>关于我们</li></a>
                        </ul>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="clear"></div>
        </div>
        <div style="margin-bottom: 50px;">
        <!--这里写入中间代码-->
            <div style="margin: 10px;"> <span style="color: orangered;font-weight:bold;font-size: 20px;">ACM信息</span></div>
            <div style="background-color:royalblue;width: 100%;height:2px;margin-bottom:5px; "></div>
            <div class="panel admin-panel">

                <div class="padding border-bottom">
                    <ul class="search" style="padding-left:10px;">
                        <!-- <%
                            String flag=(String)request.getAttribute("flag");
                         %>
                     -->
                    </ul>
                </div>

                <table class="table table-hover text-center">

                    <tr>
                        <th width="">公告标题</th>
                        <th width="20%">上传时间</th>
                    </tr>
                    <!--    <%
                            pagebean<news> pagebean=(pagebean<news>)request.getAttribute("page");
                            int pc=pagebean.getPc();
                            int tp=pagebean.getTp();
                            int nextpage=pc+1>pagebean.getTp()?pagebean.getTp():pc+1;
                            int prepage=pc-1<1?1:pc-1;
                            LinkedList<news> link=(LinkedList<news>)pagebean.getBeanList();
                            Iterator it =link.iterator(); //得到链表迭代器

                            while (it.hasNext())
                            {
                                news user = (news)it.next();


                              int id=user.getId();
                              String title=user.getTitle();
                              Date time=user.getPublishtime();




                           %>-->
                    <volist name="list" id="vo">
                        <form action="/Acm/index_show_new" method="post" onsubmit="return sure()">
                            <tr>
                                <div style="display:none">
                                    <input type="text" name="id" value="<%=id %>">
                                    <input type="text" name="flag" value="<%=flag%>">
                                </div>
                                <td><%=title%></td>
                                <td><%=time %></td>

                            </tr>
                        </form>
                    </volist>
                    <!--    <% }%>-->
                    <tr>
                        <td colspan="8"><div class="pagelist"> 第<%=pc%>页/共<%=tp%>页<div class="pagelist"> <a href="/Acm/index_show_news?pc=<%=prepage%>&&flag=<%=flag%>">上一页</a><span class="current"><%=pc%></span><a href="/Acm/index_show_news?&pc=<%=nextpage %>&&flag=<%=flag%>">下一页</a><a href="/Acm/index_show_news?pc=<%=tp%>&&flag=<%=flag%>">尾页</a></div></div></td>
                    </tr>
                </table>
            </div>

            <script type="text/javascript">

                /*  <%


                 String msg=null;
                 msg=(String)request.getAttribute("msg");
                 if(msg!=null)
                 {
                 out.print("alert('"+msg+"')");
                 }
                 %>*/




            </script>
        </div>
        <div class="clear"></div>
    </div>
    <div id="foot">
        <div class="foot_wrap">
            <img src="images/logo.png" alt="">

            <div class="foot_info">
                Copyright  湖南理工学院 2010-2015 . All Rights Reserved. <br>
                湘ICP备05003891号  湘教QS3-200505-000078 湘公网安备 43060202000045号<br>
                校址：湖南省岳阳市学院路　邮编：414006 电话：0730-8640001 投稿邮箱：hnistxcb@163.com
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(".nav_wrap").css("width",$(".nav_wrap li").length*100+"px");
    $("#main_wrap").css("width",window.screen.width-21+"px");
    $("#foot").css("width",window.screen.width-21+"px");
</script>
</body>
</html>